Optimal. Leaf size=169 \[ -\frac {(2 a d+b c) \log \left (c^{2/3}-\sqrt [3]{c} \sqrt [3]{d} x+d^{2/3} x^2\right )}{18 c^{5/3} d^{4/3}}+\frac {(2 a d+b c) \log \left (\sqrt [3]{c}+\sqrt [3]{d} x\right )}{9 c^{5/3} d^{4/3}}-\frac {(2 a d+b c) \tan ^{-1}\left (\frac {\sqrt [3]{c}-2 \sqrt [3]{d} x}{\sqrt {3} \sqrt [3]{c}}\right )}{3 \sqrt {3} c^{5/3} d^{4/3}}-\frac {x (b c-a d)}{3 c d \left (c+d x^3\right )} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.08, antiderivative size = 169, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 7, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.412, Rules used = {385, 200, 31, 634, 617, 204, 628} \[ -\frac {(2 a d+b c) \log \left (c^{2/3}-\sqrt [3]{c} \sqrt [3]{d} x+d^{2/3} x^2\right )}{18 c^{5/3} d^{4/3}}+\frac {(2 a d+b c) \log \left (\sqrt [3]{c}+\sqrt [3]{d} x\right )}{9 c^{5/3} d^{4/3}}-\frac {(2 a d+b c) \tan ^{-1}\left (\frac {\sqrt [3]{c}-2 \sqrt [3]{d} x}{\sqrt {3} \sqrt [3]{c}}\right )}{3 \sqrt {3} c^{5/3} d^{4/3}}-\frac {x (b c-a d)}{3 c d \left (c+d x^3\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 31
Rule 200
Rule 204
Rule 385
Rule 617
Rule 628
Rule 634
Rubi steps
\begin {align*} \int \frac {a+b x^3}{\left (c+d x^3\right )^2} \, dx &=-\frac {(b c-a d) x}{3 c d \left (c+d x^3\right )}+\frac {(b c+2 a d) \int \frac {1}{c+d x^3} \, dx}{3 c d}\\ &=-\frac {(b c-a d) x}{3 c d \left (c+d x^3\right )}+\frac {(b c+2 a d) \int \frac {1}{\sqrt [3]{c}+\sqrt [3]{d} x} \, dx}{9 c^{5/3} d}+\frac {(b c+2 a d) \int \frac {2 \sqrt [3]{c}-\sqrt [3]{d} x}{c^{2/3}-\sqrt [3]{c} \sqrt [3]{d} x+d^{2/3} x^2} \, dx}{9 c^{5/3} d}\\ &=-\frac {(b c-a d) x}{3 c d \left (c+d x^3\right )}+\frac {(b c+2 a d) \log \left (\sqrt [3]{c}+\sqrt [3]{d} x\right )}{9 c^{5/3} d^{4/3}}-\frac {(b c+2 a d) \int \frac {-\sqrt [3]{c} \sqrt [3]{d}+2 d^{2/3} x}{c^{2/3}-\sqrt [3]{c} \sqrt [3]{d} x+d^{2/3} x^2} \, dx}{18 c^{5/3} d^{4/3}}+\frac {(b c+2 a d) \int \frac {1}{c^{2/3}-\sqrt [3]{c} \sqrt [3]{d} x+d^{2/3} x^2} \, dx}{6 c^{4/3} d}\\ &=-\frac {(b c-a d) x}{3 c d \left (c+d x^3\right )}+\frac {(b c+2 a d) \log \left (\sqrt [3]{c}+\sqrt [3]{d} x\right )}{9 c^{5/3} d^{4/3}}-\frac {(b c+2 a d) \log \left (c^{2/3}-\sqrt [3]{c} \sqrt [3]{d} x+d^{2/3} x^2\right )}{18 c^{5/3} d^{4/3}}+\frac {(b c+2 a d) \operatorname {Subst}\left (\int \frac {1}{-3-x^2} \, dx,x,1-\frac {2 \sqrt [3]{d} x}{\sqrt [3]{c}}\right )}{3 c^{5/3} d^{4/3}}\\ &=-\frac {(b c-a d) x}{3 c d \left (c+d x^3\right )}-\frac {(b c+2 a d) \tan ^{-1}\left (\frac {\sqrt [3]{c}-2 \sqrt [3]{d} x}{\sqrt {3} \sqrt [3]{c}}\right )}{3 \sqrt {3} c^{5/3} d^{4/3}}+\frac {(b c+2 a d) \log \left (\sqrt [3]{c}+\sqrt [3]{d} x\right )}{9 c^{5/3} d^{4/3}}-\frac {(b c+2 a d) \log \left (c^{2/3}-\sqrt [3]{c} \sqrt [3]{d} x+d^{2/3} x^2\right )}{18 c^{5/3} d^{4/3}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.10, size = 145, normalized size = 0.86 \[ \frac {-(2 a d+b c) \log \left (c^{2/3}-\sqrt [3]{c} \sqrt [3]{d} x+d^{2/3} x^2\right )-\frac {6 c^{2/3} \sqrt [3]{d} x (b c-a d)}{c+d x^3}+2 (2 a d+b c) \log \left (\sqrt [3]{c}+\sqrt [3]{d} x\right )-2 \sqrt {3} (2 a d+b c) \tan ^{-1}\left (\frac {1-\frac {2 \sqrt [3]{d} x}{\sqrt [3]{c}}}{\sqrt {3}}\right )}{18 c^{5/3} d^{4/3}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.45, size = 537, normalized size = 3.18 \[ \left [\frac {3 \, \sqrt {\frac {1}{3}} {\left (b c^{3} d + 2 \, a c^{2} d^{2} + {\left (b c^{2} d^{2} + 2 \, a c d^{3}\right )} x^{3}\right )} \sqrt {-\frac {\left (c^{2} d\right )^{\frac {1}{3}}}{d}} \log \left (\frac {2 \, c d x^{3} - 3 \, \left (c^{2} d\right )^{\frac {1}{3}} c x - c^{2} + 3 \, \sqrt {\frac {1}{3}} {\left (2 \, c d x^{2} + \left (c^{2} d\right )^{\frac {2}{3}} x - \left (c^{2} d\right )^{\frac {1}{3}} c\right )} \sqrt {-\frac {\left (c^{2} d\right )^{\frac {1}{3}}}{d}}}{d x^{3} + c}\right ) - {\left ({\left (b c d + 2 \, a d^{2}\right )} x^{3} + b c^{2} + 2 \, a c d\right )} \left (c^{2} d\right )^{\frac {2}{3}} \log \left (c d x^{2} - \left (c^{2} d\right )^{\frac {2}{3}} x + \left (c^{2} d\right )^{\frac {1}{3}} c\right ) + 2 \, {\left ({\left (b c d + 2 \, a d^{2}\right )} x^{3} + b c^{2} + 2 \, a c d\right )} \left (c^{2} d\right )^{\frac {2}{3}} \log \left (c d x + \left (c^{2} d\right )^{\frac {2}{3}}\right ) - 6 \, {\left (b c^{3} d - a c^{2} d^{2}\right )} x}{18 \, {\left (c^{3} d^{3} x^{3} + c^{4} d^{2}\right )}}, \frac {6 \, \sqrt {\frac {1}{3}} {\left (b c^{3} d + 2 \, a c^{2} d^{2} + {\left (b c^{2} d^{2} + 2 \, a c d^{3}\right )} x^{3}\right )} \sqrt {\frac {\left (c^{2} d\right )^{\frac {1}{3}}}{d}} \arctan \left (\frac {\sqrt {\frac {1}{3}} {\left (2 \, \left (c^{2} d\right )^{\frac {2}{3}} x - \left (c^{2} d\right )^{\frac {1}{3}} c\right )} \sqrt {\frac {\left (c^{2} d\right )^{\frac {1}{3}}}{d}}}{c^{2}}\right ) - {\left ({\left (b c d + 2 \, a d^{2}\right )} x^{3} + b c^{2} + 2 \, a c d\right )} \left (c^{2} d\right )^{\frac {2}{3}} \log \left (c d x^{2} - \left (c^{2} d\right )^{\frac {2}{3}} x + \left (c^{2} d\right )^{\frac {1}{3}} c\right ) + 2 \, {\left ({\left (b c d + 2 \, a d^{2}\right )} x^{3} + b c^{2} + 2 \, a c d\right )} \left (c^{2} d\right )^{\frac {2}{3}} \log \left (c d x + \left (c^{2} d\right )^{\frac {2}{3}}\right ) - 6 \, {\left (b c^{3} d - a c^{2} d^{2}\right )} x}{18 \, {\left (c^{3} d^{3} x^{3} + c^{4} d^{2}\right )}}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.19, size = 160, normalized size = 0.95 \[ -\frac {\sqrt {3} {\left (b c + 2 \, a d\right )} \arctan \left (\frac {\sqrt {3} {\left (2 \, x + \left (-\frac {c}{d}\right )^{\frac {1}{3}}\right )}}{3 \, \left (-\frac {c}{d}\right )^{\frac {1}{3}}}\right )}{9 \, \left (-c d^{2}\right )^{\frac {2}{3}} c} - \frac {{\left (b c + 2 \, a d\right )} \log \left (x^{2} + x \left (-\frac {c}{d}\right )^{\frac {1}{3}} + \left (-\frac {c}{d}\right )^{\frac {2}{3}}\right )}{18 \, \left (-c d^{2}\right )^{\frac {2}{3}} c} - \frac {{\left (b c + 2 \, a d\right )} \left (-\frac {c}{d}\right )^{\frac {1}{3}} \log \left ({\left | x - \left (-\frac {c}{d}\right )^{\frac {1}{3}} \right |}\right )}{9 \, c^{2} d} - \frac {b c x - a d x}{3 \, {\left (d x^{3} + c\right )} c d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.05, size = 221, normalized size = 1.31 \[ \frac {2 \sqrt {3}\, a \arctan \left (\frac {\sqrt {3}\, \left (\frac {2 x}{\left (\frac {c}{d}\right )^{\frac {1}{3}}}-1\right )}{3}\right )}{9 \left (\frac {c}{d}\right )^{\frac {2}{3}} c d}+\frac {2 a \ln \left (x +\left (\frac {c}{d}\right )^{\frac {1}{3}}\right )}{9 \left (\frac {c}{d}\right )^{\frac {2}{3}} c d}-\frac {a \ln \left (x^{2}-\left (\frac {c}{d}\right )^{\frac {1}{3}} x +\left (\frac {c}{d}\right )^{\frac {2}{3}}\right )}{9 \left (\frac {c}{d}\right )^{\frac {2}{3}} c d}+\frac {\sqrt {3}\, b \arctan \left (\frac {\sqrt {3}\, \left (\frac {2 x}{\left (\frac {c}{d}\right )^{\frac {1}{3}}}-1\right )}{3}\right )}{9 \left (\frac {c}{d}\right )^{\frac {2}{3}} d^{2}}+\frac {b \ln \left (x +\left (\frac {c}{d}\right )^{\frac {1}{3}}\right )}{9 \left (\frac {c}{d}\right )^{\frac {2}{3}} d^{2}}-\frac {b \ln \left (x^{2}-\left (\frac {c}{d}\right )^{\frac {1}{3}} x +\left (\frac {c}{d}\right )^{\frac {2}{3}}\right )}{18 \left (\frac {c}{d}\right )^{\frac {2}{3}} d^{2}}+\frac {\left (a d -b c \right ) x}{3 \left (d \,x^{3}+c \right ) c d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.16, size = 158, normalized size = 0.93 \[ -\frac {{\left (b c - a d\right )} x}{3 \, {\left (c d^{2} x^{3} + c^{2} d\right )}} + \frac {\sqrt {3} {\left (b c + 2 \, a d\right )} \arctan \left (\frac {\sqrt {3} {\left (2 \, x - \left (\frac {c}{d}\right )^{\frac {1}{3}}\right )}}{3 \, \left (\frac {c}{d}\right )^{\frac {1}{3}}}\right )}{9 \, c d^{2} \left (\frac {c}{d}\right )^{\frac {2}{3}}} - \frac {{\left (b c + 2 \, a d\right )} \log \left (x^{2} - x \left (\frac {c}{d}\right )^{\frac {1}{3}} + \left (\frac {c}{d}\right )^{\frac {2}{3}}\right )}{18 \, c d^{2} \left (\frac {c}{d}\right )^{\frac {2}{3}}} + \frac {{\left (b c + 2 \, a d\right )} \log \left (x + \left (\frac {c}{d}\right )^{\frac {1}{3}}\right )}{9 \, c d^{2} \left (\frac {c}{d}\right )^{\frac {2}{3}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.40, size = 143, normalized size = 0.85 \[ \frac {\ln \left (d^{1/3}\,x+c^{1/3}\right )\,\left (2\,a\,d+b\,c\right )}{9\,c^{5/3}\,d^{4/3}}-\frac {\ln \left (c^{1/3}-2\,d^{1/3}\,x+\sqrt {3}\,c^{1/3}\,1{}\mathrm {i}\right )\,\left (\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )\,\left (2\,a\,d+b\,c\right )}{9\,c^{5/3}\,d^{4/3}}+\frac {\ln \left (2\,d^{1/3}\,x-c^{1/3}+\sqrt {3}\,c^{1/3}\,1{}\mathrm {i}\right )\,\left (-\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )\,\left (2\,a\,d+b\,c\right )}{9\,c^{5/3}\,d^{4/3}}+\frac {x\,\left (a\,d-b\,c\right )}{3\,c\,d\,\left (d\,x^3+c\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.58, size = 97, normalized size = 0.57 \[ \frac {x \left (a d - b c\right )}{3 c^{2} d + 3 c d^{2} x^{3}} + \operatorname {RootSum} {\left (729 t^{3} c^{5} d^{4} - 8 a^{3} d^{3} - 12 a^{2} b c d^{2} - 6 a b^{2} c^{2} d - b^{3} c^{3}, \left (t \mapsto t \log {\left (\frac {9 t c^{2} d}{2 a d + b c} + x \right )} \right )\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________